﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SlimeAttackState : Istates
{
    public EntityBase User;
    public MonoParameter para;

    public SlimeAttackState(int i, EntityBase user)
    {
        this.User = user;
        this.para = User.parameter;
    }
    public void OnEnter()
    {
        
    }
    public void OnUpdate()
    {
        para.ComponentData.animator.Play("SlimeAttack");
    }
    public void OnExit()
    {
    }
}
